check process ssh_tunnel
  with pidfile /var/run/ssh_tunnel.pid
  start program = "/bin/sh -c '/etc/init.d/ssh_tunnel restart'"
  stop program = "/bin/sh -c '/etc/init.d/ssh_tunnel stop'"
  <% if @tunnel_direction != 'REV' %>
  if failed host 127.0.0.1 port <%= @connect_port %>
    with timeout 15 seconds then restart
  <% end %>